package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 奖品抽奖对象 prize_luck
 * 
 * @author ruoyi
 * @date 2021-04-07
 */
public class PrizeLuck extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 考试号 */
    @Excel(name = "考试号")
    private String safetyExaminationId;

    /** 考试名称 */
    @Excel(name = "考试名称")
    private String safetyExaminationName;

    /** 奖品号 */
    @Excel(name = "奖品号")
    private String prizeId;

    /** 奖品名称 */
    @Excel(name = "奖品名称")
    private String prizeName;

    /** 奖品数量 */
    @Excel(name = "奖品数量")
    private Long prizeAmount;

    /** 剩余奖品可提供数量 */
    @Excel(name = "剩余奖品可提供数量")
    private Long prizeSurplusAmount;

    /** 剩余奖品可提供数量 */
    @Excel(name = "剩余概率可提供数量")
    private Float prizeSurplusProbability;

    /** 奖品概率 */
    @Excel(name = "奖品概率")
    private Float prizeProbability;

    /** 设置人员 */
    @Excel(name = "设置人员")
    private String setId;

    /** 设置时间 */
    @Excel(name = "设置时间")
    private String setDate;



    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSafetyExaminationId(String safetyExaminationId) 
    {
        this.safetyExaminationId = safetyExaminationId;
    }

    public String getSafetyExaminationId() 
    {
        return safetyExaminationId;
    }
    public void setSafetyExaminationName(String safetyExaminationName) 
    {
        this.safetyExaminationName = safetyExaminationName;
    }

    public String getSafetyExaminationName() 
    {
        return safetyExaminationName;
    }
    public void setPrizeId(String prizeId) 
    {
        this.prizeId = prizeId;
    }

    public String getPrizeId() 
    {
        return prizeId;
    }
    public void setPrizeName(String prizeName) 
    {
        this.prizeName = prizeName;
    }

    public String getPrizeName() 
    {
        return prizeName;
    }
    public void setPrizeAmount(Long prizeAmount)
    {
        this.prizeAmount = prizeAmount;
    }

    public Long getPrizeAmount()
    {
        return prizeAmount;
    }
    public void setPrizeSurplusAmount(Long prizeSurplusAmount)
{
    this.prizeSurplusAmount = prizeSurplusAmount;
}

    public Long getPrizeSurplusAmount()
    {
        return prizeSurplusAmount;
    }
    public void setPrizeSurplusProbability(Float prizeSurplusProbability)
    {
        this.prizeSurplusProbability = prizeSurplusProbability;
    }

    public Float getPrizeSurplusProbability()
    {
        return prizeSurplusProbability;
    }
    public void setPrizeProbability(Float prizeProbability)
    {
        this.prizeProbability = prizeProbability;
    }

    public Float getPrizeProbability()
    {
        return prizeProbability;
    }
    public void setSetId(String setId) 
    {
        this.setId = setId;
    }

    public String getSetId() 
    {
        return setId;
    }
    public void setSetDate(String setDate)
    {
        this.setDate = setDate;
    }

    public String getSetDate()
    {
        return setDate;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("safetyExaminationId", getSafetyExaminationId())
            .append("safetyExaminationName", getSafetyExaminationName())
            .append("prizeId", getPrizeId())
            .append("prizeName", getPrizeName())
            .append("prizeAmount", getPrizeAmount())
            .append("prizeSurplusAmount", getPrizeSurplusAmount())
            .append("prizeProbability", getPrizeProbability())
            .append("prizeSurplusProbability", getPrizeSurplusProbability())
            .append("setId", getSetId())
            .append("setDate", getSetDate())

            .toString();
    }
}
